package card;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024 —03 —24
 * Time: 20:43
 */
public class Card {
    private String suit;
    private int rank;
    public Card (String suit , int rank){
        this.rank = rank;
        this.suit  =  suit;
    }
    public String getSuit(){
        return suit;
    }

    public void setSuit(String suit){
        this.suit = suit;
    }

    public int getRank(){
        return rank;
    }
    public void setRank(int rank){
        this.rank = rank;
    }

    @Override
    public String toString() {
        return "花色" + suit + "数字" + rank;
    }
}
